package cn.bonoon.controllers.smm;

import cn.bonoon.kernel.support.models.AbstractItem;
import cn.bonoon.kernel.web.annotations.grid.AsColumn;
import cn.bonoon.kernel.web.annotations.grid.AsDataGrid;
import cn.bonoon.kernel.web.annotations.grid.GridOptions;
import cn.bonoon.kernel.web.annotations.grid.OperationType;

@AsDataGrid(condition = TagCondition.class, value = @GridOptions(operation = OperationType.LEFT, checkbox = false))
public class TagItem extends AbstractItem{

	private static final long serialVersionUID = 8095352380655859759L;
	@AsColumn(name = "标签", width = 500, ordinal = 0)
	private String tagName;
	
	@AsColumn(name="引用次数", width=100, ordinal = 1)
	private int count;
	
	@AsColumn(name="创建时间",width=100, ordinal = 2)
	private String createAt;
	
	@AsColumn(name="最后引用时间",width=100, ordinal = 3)
	private String lastQuoteAt;
	
	public String getTagName() {
		return tagName;
	}
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getLastQuoteAt() {
		return lastQuoteAt;
	}
	public void setLastQuoteAt(String lastQuoteAt) {
		this.lastQuoteAt = lastQuoteAt;
	}
}
